// ServiceAidlInterface.aidl
package com.example.servicemodule;

// Declare any non-default types here with import statements
import com.example.servicemodule.Student;
import com.example.servicemodule.ViewInfo;
import com.example.servicemodule.OnInfoChangeAidlInterface;

interface ServiceAidlInterface {
    /**
     * Demonstrates some basic types that you can use as parameters
     * and return values in AIDL.
     */
    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
            double aDouble, String aString);

    /*aidl中定义了接口*/
    String getInfo();

    Student getStudentInfo();

    RemoteViews getViews();

    void registerListener(OnInfoChangeAidlInterface listener);

    void unregisterListener(OnInfoChangeAidlInterface listener);

    ViewInfo getViewInfo();

    Bitmap getBitmap();
}
